package com.drop.service;

import com.drop.common.MyCart;

import javax.servlet.http.HttpSession;

/**
 * 用户服务层
 * Created by 陈东一 on 2017/9/25 15:19
 */
public interface UserService {


	/**
	 * 注册用户
	 * @param name
	 * @param tel
	 * @param pwd
	 * @param pwd1
	 * @return
	 * @throws Exception
	 */
	public MyCart register(String name, String tel, String pwd , String pwd1) throws Exception;


	/**
	 * 登陆
	 * @param name
	 * @param tel
	 * @param pwd
	 * @return
	 * @throws Exception
	 */
	public MyCart login(String name, String tel, String pwd, HttpSession session) throws Exception;
}
